// let uname = prompt("请输入姓名")
// let age = prompt("请输入年龄")
// document.write(`大家好,我叫${uname},今年${age}岁了`);
let price = prompt('单价')
let num = prompt('数量')
let sum 
sum = price * num
document.write(`小计${sum}`)